package com.demo.base;

import com.demo.model.common.MsgCode;
import com.demo.model.common.MsgMap;
import org.springframework.stereotype.Controller;

/**
 * IntelliJ IDEA.
 * User: lwb
 * Date: 2017/10/18
 * Time: 15:14
 * function:
 */
@Controller
public class BaseController {

    public MsgMap getMsgMap()
    {
        MsgMap msg = new MsgMap();
        msg.putCode(MsgCode.SUCCESS);
        return  msg;
    }
}
